package io.wins.vertx.service;

import io.vertx.core.Vertx;
import io.vertx.core.eventbus.Message;
import io.wins.vertx.entity.Seat;
import io.wins.vertx.service.impl.SeatServiceImpl;

public interface SeatService {
    String SERVICE_ADDRESS = "seat.service";
    static SeatService create(final Vertx vertx) {return new SeatServiceImpl(vertx);}
    SeatService getSeatById(final String id, final Message tMessage);
    SeatService listSeat(final Message tMessage);
    SeatService createSeat(final Seat seat, Message tMessage);
    SeatService updateSeat(final Seat seat, Message tMessage);
    SeatService deleteSeat(final String id, Message tMessage);
    
}
